#include <vector>
#include <iostream>
#include <string>

using namespace std;


class human
{
    protected:
        string _name;
    public:
        human() 
        {
        };
        ~human()
        {
            cout << _name << endl;
        };
        string getName() {return _name;};
        void setName(string aName) {_name = aName;};
};


class man : public human
{
};


int main()
{
    man* daddy1 = new man();
    daddy1->setName("daddy1");
    delete daddy1;

    man daddy2;
    daddy2.setName("daddy2");



    return 1;
}
